package com.example.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Com_T
* @description 针对表【user_role(用户角色表)】的数据库操作Mapper
* @createDate 2023-10-20 16:28:22
* @Entity com.example.entity.UserRole
*/
public interface UserRoleMapper {
    int deleteUserRoleByUserId(Integer userId);
    int insertUserRoleByBatch(@Param("roleIdList") List<Integer> roleId,
                              @Param("userId") Integer userId);
}




